home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
mus
/
misc
/
HDFreQ38_092.lha
/
HD_Freq
/
English
< prev
next >
Wrap
Text File
|
1980-01-01
|
4KB
|
185 lines
; $VER: HDF Install V 2.1 (04.03.95)
; Script to install HD Frequency
(complete 0)
;=============================================================================
(set #bad-kick
(cat "You need at least Kickstart Kickstart 2.04 "
"to run this program."
))
(set #introduction
(cat "\n\nThis program installs HD Frequency Release 2 "
"on your harddrive.\n\n"
"Please check you manual to install the correct version."
))
(set #ask-function
(cat "Please choose the version to install:"
))
(set #ask-function-help
(cat "Here you can install the program version of HD_Frequency"
" that fits best to your hardware:\n"
" 68000 1 MB version needs at least 310 kB Chip and 520 kB"
" other memory\n"
" 68000e version is for AGA machines (a12oo and a4ooo) and for"
" those who want to use only sampling rates upto 30kHz on non"
" AGA machines.\n"
" 68030 version gives you the posibilty to replay 2 or more tracks"
" >30kHz on an OCS/ECS machine. A very fast processor (68030 >25 MHz)"
" is the absolute minimum.\n"
" For further information consider your manual."
))
(set #ask-function-1
(cat "68000 1 MB Version"
))
(set #ask-function-2
(cat "68000 2 MB Version (for AGA machines)"
))
(set #ask-function-3
(cat "68020 2 MB Version"
))
(set #which-disk
(cat "Where to install HD-Frequency ?"
))
(set #which-disk-help
(cat ""
))
;=============================================================================
; make sure we are running under V37
(if (< (/ (getversion) 65536) 37)
(
(abort #bad-kick)
))
(set old_wb
(cat "Work:"
))
(set old_wb (substr old_wb 0 (- (strlen old_wb) 1)))
(set old_wb (expandpath old_wb))
(user 2)
;=============================================================================
(message #introduction)
(set motorola 0)
(set motorola (askchoice (prompt #ask-function)
(help #ask-function-help)
(choices #ask-function-1 #ask-function-2
#ask-function-3
)
(default 0)
)
)
(user 0)
(set old_level @user-level)
;=============================================================================
(if (= (strlen old_wb) 0)
(
(user 2)
(set target (askdir (prompt #which-disk)
(help #askdir-help)
(default "work:")
(disk)
)
)
(user old_level)
)
(
(if (askbool (prompt (#confirm-target old_wb))
(default 1)
)
(
(set target old_wb)
)
(
(set target (askdir (prompt #which-disk)
(help #which-disk-help)
(default old_wb)
(disk)
)
)
))
))
(set @default-dest target)
(set stash_old (tackon target "old")
)
(if (= 0 motorola)
(
(copyfiles (source
(cat "HDFrequency_68000"))
(dest (tackon target "HDFrequency"))
)
(copyfiles (source
(cat "HDFrequency_68000.info"))
(dest (tackon target "HDFrequency"))
)
))
(if (= 1 motorola)
(
(copyfiles (source
(cat "HDFrequency_68000e"))
(dest (tackon target "HDFrequency"))
)
(copyfiles (source
(cat "HDFrequency_68000e.info"))
(dest (tackon target "HDFrequency"))
)
))
(if (= 2 motorola)
(
(copyfiles (source
(cat "HDFrequency_68020"))
(dest (tackon target "HDFrequency"))
)
(copyfiles (source
(cat "HDFrequency_68020.info"))
(dest (tackon target "HDFrequency"))
)
))
; copy drawer icon
(copyfiles (source
(cat "HDFrequency.info"))
(dest (tackon target ""))
)
(complete 100)